package iedcyt.acute.dataAccess.generic;

import java.sql.ResultSet;
import java.sql.SQLException;

import org.springframework.jdbc.core.RowMapper;

public class IntRowMapper implements RowMapper<Integer> {

	@Override
	public Integer mapRow(ResultSet rs, int line) throws SQLException {
		IntResultSetExtractor extractor = new IntResultSetExtractor();
		return extractor.extractData(rs);
	}

}

